<!DOCTYPE html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <title>Dashboard for /Users/guangfan.qu/htdocs/new/sdk/opensearch-sdk-php/tests/mockery/Mockery/Generator</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link href="../../../../css/bootstrap.min.css" rel="stylesheet">
  <link href="../../../../css/nv.d3.min.css" rel="stylesheet">
  <link href="../../../../css/style.css" rel="stylesheet">
  <!--[if lt IE 9]>
  <script src="../../../../js/html5shiv.min.js"></script>
  <script src="../../../../js/respond.min.js"></script>
  <![endif]-->
 </head>
 <body>
  <header>
   <div class="container">
    <div class="row">
     <div class="col-md-12">
      <ol class="breadcrumb">
        <li><a href="../../../../index.html">/Users/guangfan.qu/htdocs/new/sdk/opensearch-sdk-php</a></li>
        <li><a href="../../../index.html">tests</a></li>
        <li><a href="../../index.html">mockery</a></li>
        <li><a href="../index.html">Mockery</a></li>
        <li><a href="index.html">Generator</a></li>
        <li class="active">(Dashboard)</li>

      </ol>
     </div>
    </div>
   </div>
  </header>
  <div class="container">
   <div class="row">
    <div class="col-md-12">
     <h2>Classes</h2>
    </div>
   </div>
   <div class="row">
    <div class="col-md-6">
     <h3>Coverage Distribution</h3>
     <div id="classCoverageDistribution" style="height: 300px;">
       <svg></svg>
     </div>
    </div>
    <div class="col-md-6">
     <h3>Complexity</h3>
     <div id="classComplexity" style="height: 300px;">
       <svg></svg>
     </div>
    </div>
   </div>
   <div class="row">
    <div class="col-md-6">
     <h3>Insufficient Coverage</h3>
     <div class="scrollbox">
      <table class="table">
       <thead>
        <tr>
         <th>Class</th>
         <th class="text-right">Coverage</th>
        </tr>
       </thead>
       <tbody>
       <tr><td><a href="StringManipulation/Pass/CallTypeHintPass.php.html#7">CallTypeHintPass</a></td><td class="text-right">23%</td></tr>
       <tr><td><a href="StringManipulation/Pass/InstanceMockPass.php.html#7">InstanceMockPass</a></td><td class="text-right">28%</td></tr>
       <tr><td><a href="StringManipulation/Pass/RemoveUnserializeForInternalSerializableClassesPass.php.html#13">RemoveUnserializeForInternalSerializableClassesPass</a></td><td class="text-right">40%</td></tr>
       <tr><td><a href="MockConfigurationBuilder.php.html#5">MockConfigurationBuilder</a></td><td class="text-right">41%</td></tr>
       <tr><td><a href="StringManipulation/Pass/ClassPass.php.html#7">ClassPass</a></td><td class="text-right">47%</td></tr>
       <tr><td><a href="MockConfiguration.php.html#9">MockConfiguration</a></td><td class="text-right">59%</td></tr>
       <tr><td><a href="DefinedTargetClass.php.html#5">DefinedTargetClass</a></td><td class="text-right">60%</td></tr>
       <tr><td><a href="Parameter.php.html#5">Parameter</a></td><td class="text-right">65%</td></tr>
       <tr><td><a href="StringManipulation/Pass/RemoveBuiltinMethodsThatAreFinalPass.php.html#13">RemoveBuiltinMethodsThatAreFinalPass</a></td><td class="text-right">66%</td></tr>
       <tr><td><a href="StringManipulation/Pass/MethodDefinitionPass.php.html#8">MethodDefinitionPass</a></td><td class="text-right">67%</td></tr>
       <tr><td><a href="MockDefinition.php.html#5">MockDefinition</a></td><td class="text-right">75%</td></tr>
       <tr><td><a href="StringManipulationGenerator.php.html#7">StringManipulationGenerator</a></td><td class="text-right">81%</td></tr>
       <tr><td><a href="StringManipulation/Pass/InterfacePass.php.html#7">InterfacePass</a></td><td class="text-right">85%</td></tr>

       </tbody>
      </table>
     </div>
    </div>
    <div class="col-md-6">
     <h3>Project Risks</h3>
     <div class="scrollbox">
      <table class="table">
       <thead>
        <tr>
         <th>Class</th>
         <th class="text-right"><abbr title="Change Risk Anti-Patterns (CRAP) Index">CRAP</abbr></th>
        </tr>
       </thead>
       <tbody>
       <tr><td><a href="MockConfiguration.php.html#9">MockConfiguration</a></td><td class="text-right">419</td></tr>
       <tr><td><a href="MockConfigurationBuilder.php.html#5">MockConfigurationBuilder</a></td><td class="text-right">59</td></tr>
       <tr><td><a href="StringManipulation/Pass/MethodDefinitionPass.php.html#8">MethodDefinitionPass</a></td><td class="text-right">36</td></tr>
       <tr><td><a href="DefinedTargetClass.php.html#5">DefinedTargetClass</a></td><td class="text-right">35</td></tr>
       <tr><td><a href="Parameter.php.html#5">Parameter</a></td><td class="text-right">24</td></tr>
       <tr><td><a href="StringManipulation/Pass/RemoveUnserializeForInternalSerializableClassesPass.php.html#13">RemoveUnserializeForInternalSerializableClassesPass</a></td><td class="text-right">10</td></tr>
       <tr><td><a href="StringManipulation/Pass/ClassPass.php.html#7">ClassPass</a></td><td class="text-right">8</td></tr>
       <tr><td><a href="StringManipulation/Pass/CallTypeHintPass.php.html#7">CallTypeHintPass</a></td><td class="text-right">7</td></tr>
       <tr><td><a href="StringManipulation/Pass/InstanceMockPass.php.html#7">InstanceMockPass</a></td><td class="text-right">6</td></tr>
       <tr><td><a href="StringManipulation/Pass/RemoveBuiltinMethodsThatAreFinalPass.php.html#13">RemoveBuiltinMethodsThatAreFinalPass</a></td><td class="text-right">5</td></tr>
       <tr><td><a href="MockDefinition.php.html#5">MockDefinition</a></td><td class="text-right">5</td></tr>
       <tr><td><a href="StringManipulationGenerator.php.html#7">StringManipulationGenerator</a></td><td class="text-right">5</td></tr>

       </tbody>
      </table>
     </div>
    </div>
   </div>
   <div class="row">
    <div class="col-md-12">
     <h2>Methods</h2>
    </div>
   </div>
   <div class="row">
    <div class="col-md-6">
     <h3>Coverage Distribution</h3>
     <div id="methodCoverageDistribution" style="height: 300px;">
       <svg></svg>
     </div>
    </div>
    <div class="col-md-6">
     <h3>Complexity</h3>
     <div id="methodComplexity" style="height: 300px;">
       <svg></svg>
     </div>
    </div>
   </div>
   <div class="row">
    <div class="col-md-6">
     <h3>Insufficient Coverage</h3>
     <div class="scrollbox">
      <table class="table">
       <thead>
        <tr>
         <th>Method</th>
         <th class="text-right">Coverage</th>
        </tr>
       </thead>
       <tbody>
       <tr><td><a href="MockConfigurationBuilder.php.html#76"><abbr title="MockConfigurationBuilder::setBlackListedMethods">setBlackListedMethods</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="MockConfigurationBuilder.php.html#82"><abbr title="MockConfigurationBuilder::addWhiteListedMethod">addWhiteListedMethod</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="DefinedTargetClass.php.html#24"><abbr title="DefinedTargetClass::isAbstract">isAbstract</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="MockConfigurationBuilder.php.html#56"><abbr title="MockConfigurationBuilder::setName">setName</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="MockConfiguration.php.html#460"><abbr title="MockConfiguration::setTargetObject">setTargetObject</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="MockConfigurationBuilder.php.html#47"><abbr title="MockConfigurationBuilder::addTargets">addTargets</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="MockConfigurationBuilder.php.html#88"><abbr title="MockConfigurationBuilder::addWhiteListedMethods">addWhiteListedMethods</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="MockConfigurationBuilder.php.html#96"><abbr title="MockConfigurationBuilder::setWhiteListedMethods">setWhiteListedMethods</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="StringManipulation/Pass/RemoveUnserializeForInternalSerializableClassesPass.php.html#34"><abbr title="RemoveUnserializeForInternalSerializableClassesPass::appendToClass">appendToClass</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="StringManipulationGenerator.php.html#30"><abbr title="StringManipulationGenerator::addPass">addPass</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="StringManipulation/Pass/InstanceMockPass.php.html#44"><abbr title="InstanceMockPass::appendToClass">appendToClass</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Parameter.php.html#21"><abbr title="Parameter::getClass">getClass</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="MockConfigurationBuilder.php.html#102"><abbr title="MockConfigurationBuilder::setInstanceMock">setInstanceMock</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="MockDefinition.php.html#19"><abbr title="MockDefinition::getConfig">getConfig</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="MockConfiguration.php.html#454"><abbr title="MockConfiguration::addTargetInterfaceName">addTargetInterfaceName</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="MockConfigurationBuilder.php.html#62"><abbr title="MockConfigurationBuilder::addBlackListedMethod">addBlackListedMethod</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="DefinedTargetClass.php.html#54"><abbr title="DefinedTargetClass::getNamespaceName">getNamespaceName</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="DefinedTargetClass.php.html#49"><abbr title="DefinedTargetClass::__toString">__toString</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="DefinedTargetClass.php.html#41"><abbr title="DefinedTargetClass::getInterfaces">getInterfaces</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="DefinedTargetClass.php.html#44"><abbr title="DefinedTargetClass::anonymous function">anonymous function</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="DefinedTargetClass.php.html#64"><abbr title="DefinedTargetClass::getShortName">getShortName</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="DefinedTargetClass.php.html#59"><abbr title="DefinedTargetClass::inNamespace">inNamespace</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="MockConfiguration.php.html#253"><abbr title="MockConfiguration::getTargetClassName">getTargetClassName</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="MockConfiguration.php.html#290"><abbr title="MockConfiguration::getTargetInterfaces">getTargetInterfaces</a></a></td><td class="text-right">15%</td></tr>
       <tr><td><a href="StringManipulation/Pass/CallTypeHintPass.php.html#9"><abbr title="CallTypeHintPass::apply">apply</a></a></td><td class="text-right">23%</td></tr>
       <tr><td><a href="MockConfiguration.php.html#210"><abbr title="MockConfiguration::addTarget">addTarget</a></a></td><td class="text-right">38%</td></tr>
       <tr><td><a href="StringManipulation/Pass/ClassPass.php.html#9"><abbr title="ClassPass::apply">apply</a></a></td><td class="text-right">47%</td></tr>
       <tr><td><a href="StringManipulation/Pass/InstanceMockPass.php.html#35"><abbr title="InstanceMockPass::apply">apply</a></a></td><td class="text-right">50%</td></tr>
       <tr><td><a href="MockConfiguration.php.html#258"><abbr title="MockConfiguration::getTargetClass">getTargetClass</a></a></td><td class="text-right">50%</td></tr>
       <tr><td><a href="StringManipulation/Pass/InterfacePass.php.html#11"><abbr title="InterfacePass::anonymous function">anonymous function</a></a></td><td class="text-right">50%</td></tr>
       <tr><td><a href="MockConfiguration.php.html#354"><abbr title="MockConfiguration::generateName">generateName</a></a></td><td class="text-right">53%</td></tr>
       <tr><td><a href="StringManipulation/Pass/MethodDefinitionPass.php.html#74"><abbr title="MethodDefinitionPass::renderMethodBody">renderMethodBody</a></a></td><td class="text-right">55%</td></tr>
       <tr><td><a href="StringManipulation/Pass/RemoveUnserializeForInternalSerializableClassesPass.php.html#17"><abbr title="RemoveUnserializeForInternalSerializableClassesPass::apply">apply</a></a></td><td class="text-right">57%</td></tr>
       <tr><td><a href="Parameter.php.html#70"><abbr title="Parameter::getName">getName</a></a></td><td class="text-right">60%</td></tr>
       <tr><td><a href="MockConfiguration.php.html#102"><abbr title="MockConfiguration::getMethodsToMock">getMethodsToMock</a></a></td><td class="text-right">60%</td></tr>
       <tr><td><a href="Parameter.php.html#26"><abbr title="Parameter::getTypeHintAsString">getTypeHintAsString</a></a></td><td class="text-right">64%</td></tr>
       <tr><td><a href="StringManipulation/Pass/RemoveBuiltinMethodsThatAreFinalPass.php.html#19"><abbr title="RemoveBuiltinMethodsThatAreFinalPass::apply">apply</a></a></td><td class="text-right">66%</td></tr>
       <tr><td><a href="MockConfiguration.php.html#172"><abbr title="MockConfiguration::requiresCallStaticTypeHintRemoval">requiresCallStaticTypeHintRemoval</a></a></td><td class="text-right">66%</td></tr>
       <tr><td><a href="MockConfiguration.php.html#156"><abbr title="MockConfiguration::requiresCallTypeHintRemoval">requiresCallTypeHintRemoval</a></a></td><td class="text-right">66%</td></tr>
       <tr><td><a href="StringManipulation/Pass/MethodDefinitionPass.php.html#38"><abbr title="MethodDefinitionPass::renderParams">renderParams</a></a></td><td class="text-right">70%</td></tr>
       <tr><td><a href="MockConfigurationBuilder.php.html#68"><abbr title="MockConfigurationBuilder::addBlackListedMethods">addBlackListedMethods</a></a></td><td class="text-right">75%</td></tr>
       <tr><td><a href="StringManipulation/Pass/MethodDefinitionPass.php.html#10"><abbr title="MethodDefinitionPass::apply">apply</a></a></td><td class="text-right">77%</td></tr>
       <tr><td><a href="MockConfiguration.php.html#184"><abbr title="MockConfiguration::rename">rename</a></a></td><td class="text-right">77%</td></tr>
       <tr><td><a href="DefinedTargetClass.php.html#74"><abbr title="DefinedTargetClass::hasInternalAncestor">hasInternalAncestor</a></a></td><td class="text-right">77%</td></tr>
       <tr><td><a href="MockDefinition.php.html#10"><abbr title="MockDefinition::__construct">__construct</a></a></td><td class="text-right">80%</td></tr>
       <tr><td><a href="MockConfiguration.php.html#382"><abbr title="MockConfiguration::getNamespaceName">getNamespaceName</a></a></td><td class="text-right">80%</td></tr>
       <tr><td><a href="MockConfiguration.php.html#437"><abbr title="MockConfiguration::anonymous function">anonymous function</a></a></td><td class="text-right">80%</td></tr>

       </tbody>
      </table>
     </div>
    </div>
    <div class="col-md-6">
     <h3>Project Risks</h3>
     <div class="scrollbox">
      <table class="table">
       <thead>
        <tr>
         <th>Method</th>
         <th class="text-right"><abbr title="Change Risk Anti-Patterns (CRAP) Index">CRAP</abbr></th>
        </tr>
       </thead>
       <tbody>
       <tr><td><a href="MockConfiguration.php.html#290"><abbr title="MockConfiguration::getTargetInterfaces">getTargetInterfaces</abbr></a></td><td class="text-right">116</td></tr>
       <tr><td><a href="MockConfiguration.php.html#210"><abbr title="MockConfiguration::addTarget">addTarget</abbr></a></td><td class="text-right">14</td></tr>
       <tr><td><a href="MockConfiguration.php.html#102"><abbr title="MockConfiguration::getMethodsToMock">getMethodsToMock</abbr></a></td><td class="text-right">13</td></tr>
       <tr><td><a href="Parameter.php.html#26"><abbr title="Parameter::getTypeHintAsString">getTypeHintAsString</abbr></a></td><td class="text-right">12</td></tr>
       <tr><td><a href="StringManipulation/Pass/MethodDefinitionPass.php.html#74"><abbr title="MethodDefinitionPass::renderMethodBody">renderMethodBody</abbr></a></td><td class="text-right">11</td></tr>
       <tr><td><a href="MockConfiguration.php.html#258"><abbr title="MockConfiguration::getTargetClass">getTargetClass</abbr></a></td><td class="text-right">10</td></tr>
       <tr><td><a href="StringManipulation/Pass/ClassPass.php.html#9"><abbr title="ClassPass::apply">apply</abbr></a></td><td class="text-right">8</td></tr>
       <tr><td><a href="StringManipulation/Pass/MethodDefinitionPass.php.html#38"><abbr title="MethodDefinitionPass::renderParams">renderParams</abbr></a></td><td class="text-right">8</td></tr>
       <tr><td><a href="StringManipulation/Pass/CallTypeHintPass.php.html#9"><abbr title="CallTypeHintPass::apply">apply</abbr></a></td><td class="text-right">7</td></tr>
       <tr><td><a href="StringManipulation/Pass/MethodDefinitionPass.php.html#10"><abbr title="MethodDefinitionPass::apply">apply</abbr></a></td><td class="text-right">6</td></tr>
       <tr><td><a href="MockConfigurationBuilder.php.html#47"><abbr title="MockConfigurationBuilder::addTargets">addTargets</abbr></a></td><td class="text-right">6</td></tr>
       <tr><td><a href="MockConfigurationBuilder.php.html#88"><abbr title="MockConfigurationBuilder::addWhiteListedMethods">addWhiteListedMethods</abbr></a></td><td class="text-right">6</td></tr>
       <tr><td><a href="StringManipulation/Pass/RemoveBuiltinMethodsThatAreFinalPass.php.html#19"><abbr title="RemoveBuiltinMethodsThatAreFinalPass::apply">apply</abbr></a></td><td class="text-right">5</td></tr>
       <tr><td><a href="MockConfiguration.php.html#354"><abbr title="MockConfiguration::generateName">generateName</abbr></a></td><td class="text-right">5</td></tr>
       <tr><td><a href="StringManipulation/Pass/RemoveUnserializeForInternalSerializableClassesPass.php.html#17"><abbr title="RemoveUnserializeForInternalSerializableClassesPass::apply">apply</abbr></a></td><td class="text-right">5</td></tr>
       <tr><td><a href="DefinedTargetClass.php.html#74"><abbr title="DefinedTargetClass::hasInternalAncestor">hasInternalAncestor</abbr></a></td><td class="text-right">4</td></tr>
       <tr><td><a href="MockConfiguration.php.html#184"><abbr title="MockConfiguration::rename">rename</abbr></a></td><td class="text-right">4</td></tr>
       <tr><td><a href="Parameter.php.html#70"><abbr title="Parameter::getName">getName</abbr></a></td><td class="text-right">3</td></tr>
       <tr><td><a href="MockConfiguration.php.html#156"><abbr title="MockConfiguration::requiresCallTypeHintRemoval">requiresCallTypeHintRemoval</abbr></a></td><td class="text-right">3</td></tr>
       <tr><td><a href="MockConfiguration.php.html#172"><abbr title="MockConfiguration::requiresCallStaticTypeHintRemoval">requiresCallStaticTypeHintRemoval</abbr></a></td><td class="text-right">3</td></tr>
       <tr><td><a href="StringManipulation/Pass/InstanceMockPass.php.html#35"><abbr title="InstanceMockPass::apply">apply</abbr></a></td><td class="text-right">2</td></tr>
       <tr><td><a href="MockConfigurationBuilder.php.html#68"><abbr title="MockConfigurationBuilder::addBlackListedMethods">addBlackListedMethods</abbr></a></td><td class="text-right">2</td></tr>
       <tr><td><a href="MockConfiguration.php.html#437"><abbr title="MockConfiguration::anonymous function">anonymous function</abbr></a></td><td class="text-right">2</td></tr>
       <tr><td><a href="MockConfiguration.php.html#382"><abbr title="MockConfiguration::getNamespaceName">getNamespaceName</abbr></a></td><td class="text-right">2</td></tr>
       <tr><td><a href="MockDefinition.php.html#10"><abbr title="MockDefinition::__construct">__construct</abbr></a></td><td class="text-right">2</td></tr>

       </tbody>
      </table>
     </div>
    </div>
   </div>
   <footer>
    <hr/>
    <p>
     <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 2.1.3</a> using <a href="http://php.net/" target="_top">PHP 5.6.27</a> and <a href="http://phpunit.de/">PHPUnit 4.7.0</a> at Mon Apr 17 13:50:55 CST 2017.</small>
    </p>
   </footer>
  </div>
  <script src="../../../../js/jquery.min.js" type="text/javascript"></script>
  <script src="../../../../js/bootstrap.min.js" type="text/javascript"></script>
  <script src="../../../../js/holder.min.js" type="text/javascript"></script>
  <script src="../../../../js/d3.min.js" type="text/javascript"></script>
  <script src="../../../../js/nv.d3.min.js" type="text/javascript"></script>
  <script type="text/javascript">
$(document).ready(function() {
  nv.addGraph(function() {
    var chart = nv.models.multiBarChart();
    chart.tooltips(false)
      .showControls(false)
      .showLegend(false)
      .reduceXTicks(false)
      .staggerLabels(true)
      .yAxis.tickFormat(d3.format('d'));

    d3.select('#classCoverageDistribution svg')
      .datum(getCoverageDistributionData([0,0,0,2,0,3,1,4,1,2,0,3], "Class Coverage"))
      .transition().duration(500).call(chart);

    nv.utils.windowResize(chart.update);

    return chart;
  });

  nv.addGraph(function() {
    var chart = nv.models.multiBarChart();
    chart.tooltips(false)
      .showControls(false)
      .showLegend(false)
      .reduceXTicks(false)
      .staggerLabels(true)
      .yAxis.tickFormat(d3.format('d'));

    d3.select('#methodCoverageDistribution svg')
      .datum(getCoverageDistributionData([23,0,1,1,1,1,6,6,5,3,0,36], "Method Coverage"))
      .transition().duration(500).call(chart);

    nv.utils.windowResize(chart.update);

    return chart;
  });

  function getCoverageDistributionData(data, label) {
    var labels = [
      '0%',
      '0-10%',
      '10-20%',
      '20-30%',
      '30-40%',
      '40-50%',
      '50-60%',
      '60-70%',
      '70-80%',
      '80-90%',
      '90-100%',
      '100%'
    ];
    var values = [];
    $.each(labels, function(key) {
      values.push({x: labels[key], y: data[key]});
    });

    return [
      {
        key: label,
        values: values,
        color: "#4572A7"
      }
    ];
  }
  nv.addGraph(function() {
    var chart = nv.models.scatterChart()
      .showDistX(true)
      .showDistY(true)
      .showLegend(false)
      .forceX([0, 100]);
    chart.scatter.onlyCircles(false);
    chart.tooltipContent(function(key, y, e, graph) {
      return '<p>' + graph.point.class + '</p>';
    });

    chart.xAxis.axisLabel('Code Coverage (in percent)');
    chart.yAxis.axisLabel('Cyclomatic Complexity');

    d3.select('#classComplexity svg')
      .datum(getComplexityData([[100,3,"<a href=\"CachingGenerator.php.html#5\">CachingGenerator<\/a>"],[60,17,"<a href=\"DefinedTargetClass.php.html#5\">DefinedTargetClass<\/a>"],[100,4,"<a href=\"Method.php.html#5\">Method<\/a>"],[59.375,72,"<a href=\"MockConfiguration.php.html#9\">MockConfiguration<\/a>"],[41.666666666667,15,"<a href=\"MockConfigurationBuilder.php.html#5\">MockConfigurationBuilder<\/a>"],[75,5,"<a href=\"MockDefinition.php.html#5\">MockDefinition<\/a>"],[65.384615384615,15,"<a href=\"Parameter.php.html#5\">Parameter<\/a>"],[23.076923076923,3,"<a href=\"StringManipulation\/Pass\/CallTypeHintPass.php.html#7\">CallTypeHintPass<\/a>"],[100,2,"<a href=\"StringManipulation\/Pass\/ClassNamePass.php.html#7\">ClassNamePass<\/a>"],[47.619047619048,5,"<a href=\"StringManipulation\/Pass\/ClassPass.php.html#7\">ClassPass<\/a>"],[28.571428571429,3,"<a href=\"StringManipulation\/Pass\/InstanceMockPass.php.html#7\">InstanceMockPass<\/a>"],[85.714285714286,2,"<a href=\"StringManipulation\/Pass\/InterfacePass.php.html#7\">InterfacePass<\/a>"],[67.142857142857,21,"<a href=\"StringManipulation\/Pass\/MethodDefinitionPass.php.html#8\">MethodDefinitionPass<\/a>"],[66.666666666667,5,"<a href=\"StringManipulation\/Pass\/RemoveBuiltinMethodsThatAreFinalPass.php.html#13\">RemoveBuiltinMethodsThatAreFinalPass<\/a>"],[40,5,"<a href=\"StringManipulation\/Pass\/RemoveUnserializeForInternalSerializableClassesPass.php.html#13\">RemoveUnserializeForInternalSerializableClassesPass<\/a>"],[81.818181818182,5,"<a href=\"StringManipulationGenerator.php.html#7\">StringManipulationGenerator<\/a>"]], 'Class Complexity'))
      .transition()
      .duration(500)
      .call(chart);

    nv.utils.windowResize(chart.update);

    return chart;
  });

  nv.addGraph(function() {
    var chart = nv.models.scatterChart()
      .showDistX(true)
      .showDistY(true)
      .showLegend(false)
      .forceX([0, 100]);
    chart.scatter.onlyCircles(false);
    chart.tooltipContent(function(key, y, e, graph) {
      return '<p>' + graph.point.class + '</p>';
    });

    chart.xAxis.axisLabel('Code Coverage (in percent)');
    chart.yAxis.axisLabel('Method Complexity');

    d3.select('#methodComplexity svg')
      .datum(getComplexityData([[100,1,"<a href=\"CachingGenerator.php.html#10\">CachingGenerator::__construct<\/a>"],[100,2,"<a href=\"CachingGenerator.php.html#15\">CachingGenerator::generate<\/a>"],[100,1,"<a href=\"DefinedTargetClass.php.html#9\">DefinedTargetClass::__construct<\/a>"],[100,1,"<a href=\"DefinedTargetClass.php.html#14\">DefinedTargetClass::factory<\/a>"],[100,1,"<a href=\"DefinedTargetClass.php.html#19\">DefinedTargetClass::getName<\/a>"],[0,1,"<a href=\"DefinedTargetClass.php.html#24\">DefinedTargetClass::isAbstract<\/a>"],[100,1,"<a href=\"DefinedTargetClass.php.html#29\">DefinedTargetClass::isFinal<\/a>"],[100,1,"<a href=\"DefinedTargetClass.php.html#34\">DefinedTargetClass::getMethods<\/a>"],[0,1,"<a href=\"DefinedTargetClass.php.html#44\">DefinedTargetClass::anonymous function<\/a>"],[0,1,"<a href=\"DefinedTargetClass.php.html#41\">DefinedTargetClass::getInterfaces<\/a>"],[0,1,"<a href=\"DefinedTargetClass.php.html#49\">DefinedTargetClass::__toString<\/a>"],[0,1,"<a href=\"DefinedTargetClass.php.html#54\">DefinedTargetClass::getNamespaceName<\/a>"],[0,1,"<a href=\"DefinedTargetClass.php.html#59\">DefinedTargetClass::inNamespace<\/a>"],[0,1,"<a href=\"DefinedTargetClass.php.html#64\">DefinedTargetClass::getShortName<\/a>"],[100,1,"<a href=\"DefinedTargetClass.php.html#69\">DefinedTargetClass::implementsInterface<\/a>"],[77.777777777778,4,"<a href=\"DefinedTargetClass.php.html#74\">DefinedTargetClass::hasInternalAncestor<\/a>"],[100,1,"<a href=\"Method.php.html#9\">Method::__construct<\/a>"],[100,1,"<a href=\"Method.php.html#14\">Method::__call<\/a>"],[100,1,"<a href=\"Method.php.html#19\">Method::getParameters<\/a>"],[100,1,"<a href=\"Method.php.html#21\">Method::anonymous function<\/a>"],[100,1,"<a href=\"MockConfiguration.php.html#65\">MockConfiguration::__construct<\/a>"],[100,1,"<a href=\"MockConfiguration.php.html#82\">MockConfiguration::getHash<\/a>"],[60.869565217391,9,"<a href=\"MockConfiguration.php.html#102\">MockConfiguration::getMethodsToMock<\/a>"],[80,2,"<a href=\"MockConfiguration.php.html#437\">MockConfiguration::anonymous function<\/a>"],[66.666666666667,3,"<a href=\"MockConfiguration.php.html#156\">MockConfiguration::requiresCallTypeHintRemoval<\/a>"],[66.666666666667,3,"<a href=\"MockConfiguration.php.html#172\">MockConfiguration::requiresCallStaticTypeHintRemoval<\/a>"],[77.777777777778,4,"<a href=\"MockConfiguration.php.html#184\">MockConfiguration::rename<\/a>"],[38.888888888889,6,"<a href=\"MockConfiguration.php.html#210\">MockConfiguration::addTarget<\/a>"],[100,2,"<a href=\"MockConfiguration.php.html#246\">MockConfiguration::addTargets<\/a>"],[0,1,"<a href=\"MockConfiguration.php.html#253\">MockConfiguration::getTargetClassName<\/a>"],[50,6,"<a href=\"MockConfiguration.php.html#258\">MockConfiguration::getTargetClass<\/a>"],[15.151515151515,13,"<a href=\"MockConfiguration.php.html#290\">MockConfiguration::getTargetInterfaces<\/a>"],[100,1,"<a href=\"MockConfiguration.php.html#341\">MockConfiguration::getTargetObject<\/a>"],[100,1,"<a href=\"MockConfiguration.php.html#346\">MockConfiguration::getName<\/a>"],[53.846153846154,4,"<a href=\"MockConfiguration.php.html#354\">MockConfiguration::generateName<\/a>"],[100,1,"<a href=\"MockConfiguration.php.html#376\">MockConfiguration::getShortName<\/a>"],[80,2,"<a href=\"MockConfiguration.php.html#382\">MockConfiguration::getNamespaceName<\/a>"],[100,1,"<a href=\"MockConfiguration.php.html#394\">MockConfiguration::getBlackListedMethods<\/a>"],[100,1,"<a href=\"MockConfiguration.php.html#399\">MockConfiguration::getWhiteListedMethods<\/a>"],[100,1,"<a href=\"MockConfiguration.php.html#404\">MockConfiguration::isInstanceMock<\/a>"],[100,1,"<a href=\"MockConfiguration.php.html#409\">MockConfiguration::getParameterOverrides<\/a>"],[100,1,"<a href=\"MockConfiguration.php.html#414\">MockConfiguration::setTargetClassName<\/a>"],[100,5,"<a href=\"MockConfiguration.php.html#419\">MockConfiguration::getAllMethods<\/a>"],[0,1,"<a href=\"MockConfiguration.php.html#454\">MockConfiguration::addTargetInterfaceName<\/a>"],[0,1,"<a href=\"MockConfiguration.php.html#460\">MockConfiguration::setTargetObject<\/a>"],[100,1,"<a href=\"MockConfigurationBuilder.php.html#40\">MockConfigurationBuilder::addTarget<\/a>"],[0,2,"<a href=\"MockConfigurationBuilder.php.html#47\">MockConfigurationBuilder::addTargets<\/a>"],[0,1,"<a href=\"MockConfigurationBuilder.php.html#56\">MockConfigurationBuilder::setName<\/a>"],[0,1,"<a href=\"MockConfigurationBuilder.php.html#62\">MockConfigurationBuilder::addBlackListedMethod<\/a>"],[75,2,"<a href=\"MockConfigurationBuilder.php.html#68\">MockConfigurationBuilder::addBlackListedMethods<\/a>"],[0,1,"<a href=\"MockConfigurationBuilder.php.html#76\">MockConfigurationBuilder::setBlackListedMethods<\/a>"],[0,1,"<a href=\"MockConfigurationBuilder.php.html#82\">MockConfigurationBuilder::addWhiteListedMethod<\/a>"],[0,2,"<a href=\"MockConfigurationBuilder.php.html#88\">MockConfigurationBuilder::addWhiteListedMethods<\/a>"],[0,1,"<a href=\"MockConfigurationBuilder.php.html#96\">MockConfigurationBuilder::setWhiteListedMethods<\/a>"],[0,1,"<a href=\"MockConfigurationBuilder.php.html#102\">MockConfigurationBuilder::setInstanceMock<\/a>"],[100,1,"<a href=\"MockConfigurationBuilder.php.html#107\">MockConfigurationBuilder::setParameterOverrides<\/a>"],[100,1,"<a href=\"MockConfigurationBuilder.php.html#112\">MockConfigurationBuilder::getMockConfiguration<\/a>"],[80,2,"<a href=\"MockDefinition.php.html#10\">MockDefinition::__construct<\/a>"],[0,1,"<a href=\"MockDefinition.php.html#19\">MockDefinition::getConfig<\/a>"],[100,1,"<a href=\"MockDefinition.php.html#24\">MockDefinition::getClassName<\/a>"],[100,1,"<a href=\"MockDefinition.php.html#29\">MockDefinition::getCode<\/a>"],[100,1,"<a href=\"Parameter.php.html#11\">Parameter::__construct<\/a>"],[100,1,"<a href=\"Parameter.php.html#16\">Parameter::__call<\/a>"],[0,1,"<a href=\"Parameter.php.html#21\">Parameter::getClass<\/a>"],[64.705882352941,9,"<a href=\"Parameter.php.html#26\">Parameter::getTypeHintAsString<\/a>"],[60,3,"<a href=\"Parameter.php.html#70\">Parameter::getName<\/a>"],[23.076923076923,3,"<a href=\"StringManipulation\/Pass\/CallTypeHintPass.php.html#9\">CallTypeHintPass::apply<\/a>"],[100,2,"<a href=\"StringManipulation\/Pass\/ClassNamePass.php.html#9\">ClassNamePass::apply<\/a>"],[47.619047619048,5,"<a href=\"StringManipulation\/Pass\/ClassPass.php.html#9\">ClassPass::apply<\/a>"],[50,2,"<a href=\"StringManipulation\/Pass\/InstanceMockPass.php.html#35\">InstanceMockPass::apply<\/a>"],[0,1,"<a href=\"StringManipulation\/Pass\/InstanceMockPass.php.html#44\">InstanceMockPass::appendToClass<\/a>"],[100,1,"<a href=\"StringManipulation\/Pass\/InterfacePass.php.html#9\">InterfacePass::apply<\/a>"],[50,1,"<a href=\"StringManipulation\/Pass\/InterfacePass.php.html#11\">InterfacePass::anonymous function<\/a>"],[77.777777777778,6,"<a href=\"StringManipulation\/Pass\/MethodDefinitionPass.php.html#10\">MethodDefinitionPass::apply<\/a>"],[70,7,"<a href=\"StringManipulation\/Pass\/MethodDefinitionPass.php.html#38\">MethodDefinitionPass::renderParams<\/a>"],[100,1,"<a href=\"StringManipulation\/Pass\/MethodDefinitionPass.php.html#67\">MethodDefinitionPass::appendToClass<\/a>"],[55.172413793103,7,"<a href=\"StringManipulation\/Pass\/MethodDefinitionPass.php.html#74\">MethodDefinitionPass::renderMethodBody<\/a>"],[66.666666666667,5,"<a href=\"StringManipulation\/Pass\/RemoveBuiltinMethodsThatAreFinalPass.php.html#19\">RemoveBuiltinMethodsThatAreFinalPass::apply<\/a>"],[57.142857142857,4,"<a href=\"StringManipulation\/Pass\/RemoveUnserializeForInternalSerializableClassesPass.php.html#17\">RemoveUnserializeForInternalSerializableClassesPass::apply<\/a>"],[0,1,"<a href=\"StringManipulation\/Pass\/RemoveUnserializeForInternalSerializableClassesPass.php.html#34\">RemoveUnserializeForInternalSerializableClassesPass::appendToClass<\/a>"],[100,1,"<a href=\"StringManipulationGenerator.php.html#11\">StringManipulationGenerator::__construct<\/a>"],[100,3,"<a href=\"StringManipulationGenerator.php.html#16\">StringManipulationGenerator::generate<\/a>"],[0,1,"<a href=\"StringManipulationGenerator.php.html#30\">StringManipulationGenerator::addPass<\/a>"]], 'Method Complexity'))
      .transition()
      .duration(500)
      .call(chart);

    nv.utils.windowResize(chart.update);

    return chart;
  });

  function getComplexityData(data, label) {
    var values = [];
    $.each(data, function(key) {
      var value = Math.round(data[key][0]*100) / 100;
      values.push({
        x: value,
        y: data[key][1],
        class: data[key][2],
        size: 0.05,
        shape: 'diamond'
      });
    });

    return [
      {
        key: label,
        values: values,
        color: "#4572A7"
      }
    ];
  }
});
  </script>
 </body>
</html>
